import request from '../request/request'
import API from '../request/api'

export default {
  pay() {
    return request.post(API.orders, '')
  },
  getList(param) {
    return request.get(API.orders, param)
  },
  get(id) {
    return request.get(API.order(id))
  },
  statistic() {
    return request.get(API.statistic)
  },
}
